|
|
|
|
|
|
|
Figure 14.5
The DataGrid control on the Employee Information form. |
|
|
|
|
|
|
|
|
Examples Filename: DataGrid.frm |
|
|
|
|
| Using the DataGrid Control 1. Click once on the Health Care Choices list box. 2. Press the Delete key to delete this list box. 3. Remove any code associated with this list box from the code window. 4. Add another data control to the Employee Information form. 5. Set the Name property to datHealth. 6. Set the Caption property to Health. 7. Use the property pages to set the connection to the Employees.mdb file, just like you did for the other data controls. 8. Set the RecordSource property to tblHealthCare. 9. Select Project, Components from the Visual Basic menu. 10. Select the Microsoft Data Grid Control 6.0 (OLEDB) option from the list of components. |
|
|
|